package com.ribbon.customer.ribboncustomer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

/**
 * @ClassName: CustomerController
 * @Description: TODO
 * @Author WN
 * @Date 2021/7/15 16:09
 * @Version V1.0
 */
@RestController
public class CustomerController {
    @Autowired
    RestTemplate restTemplate;
    @Resource
    HelloService helloService;
    @RequestMapping("/ribbon-customer")
    public String helloConsumber(){
       return helloService.helloService();
    }

}
